project(PclTutorials)

# Downsampling a PointCloud using a VoxelGrid filter
add_executable(pcl_VoxelGrid pcl_VoxelGrid.cpp)
target_link_libraries(pcl_VoxelGrid ${PCL_LIBRARIES})

# Using a matrix to transform a point cloud
add_executable(pcl_MatrixTransform pcl_MatrixTransform.cpp)
target_link_libraries(pcl_MatrixTransform ${PCL_LIBRARIES})

# Aligning object templates to a point cloud
add_executable(pcl_TemplateAlignment pcl_TemplateAlignment.cpp)
target_link_libraries(pcl_TemplateAlignment ${PCL_LIBRARIES})

# 3D Object Recognition based on Correspondence Grouping
add_executable(pcl_CorrespondenceGrouping pcl_CorrespondenceGrouping.cpp)
target_link_libraries(pcl_CorrespondenceGrouping ${PCL_LIBRARIES})

# Robust pose estimation of rigid objects
add_executable(pcl_AlignmentPrerejective pcl_AlignmentPrerejective.cpp)
target_link_libraries(pcl_AlignmentPrerejective ${PCL_LIBRARIES})
